HubSpot Scope
AutomatR.HubSpot.Activities.HubSpotScope
The "HubSpot Scope" activity in AutomatR is part of the HubSpot activities package, providing OAuth authentication setup for HubSpot integration. This activity allows users to configure and authenticate their HubSpot account to perform various actions within workflows.
Properties
Name | Description |
---|---|
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Enter the wait time in seconds (Example 5 seconds i.e. 5) to start the activity. |
Refresh Token | Click to browse for the refresh token and select the email ID associated with your HubSpot account. This enables the capture of the API token required to access your HubSpot account. |
Client ID | Enter the client ID for your HubSpot user's account. |
Client Secret Key | Enter the Client Secret Key for your HubSpot user's account. |
Output | |
(Internal) | The activity internally outputs the HubSpot client and access token, which are used in subsequent actions within the HubSpot scope. |
Body | A sequence of activities within the HubSpot scope. |
How to use:
- Drag and drop the "HubSpot Scope" activity onto the workflow.
- Configure the properties by providing the necessary authentication details, such as client ID and client secret key.
- Optionally, configure the delay and refresh token.
- Create a sequence of activities within the HubSpot scope to perform actions using the authenticated HubSpot account.
Example: Consider an example where the "HubSpot Scope" activity is used to authenticate a HubSpot account:
HubSpot Scope:
Client ID: "your_client_id"
Client Secret Key: "your_client_secret_key"
Refresh Token: refreshTokenDetails
Delay: 5
Body:
// Activities within the HubSpot scope
In this example, the activity authenticates the HubSpot account using the provided client ID and client secret key. The refresh token details are stored in the variable "refreshTokenDetails" for further use within the workflow. The activities within the "Body" of the scope can now perform actions using the authenticated HubSpot account.